package com.lr.wfxmanager.merchant.mapper;




import com.lr.wfxmanager.bean.WxbGood;
import com.lr.wfxmanager.bean.WxbOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface MerchantMapper {

    //添加订单
    void addOrder(WxbOrder order);
    //改变订单状态
    void updateOrderState(@Param("state")Integer state,@Param("orderId")String orderId);
    /*添加商品*/
    void addGoods(WxbGood goodsBean);
    /*添加方案*/
    void addSuks(List<WxbGood.TaocanArrayEntity> taocanArray);
}
